package com.salesmanager.core.business.user.dao;

import com.salesmanager.core.business.generic.dao.SalesManagerEntityDao;
import com.salesmanager.core.business.user.model.User;

import java.util.List;

public interface UserDao extends SalesManagerEntityDao<Long, User> {

	User getByUserName(String userName);

    User getByUserNameAndType(String userName, int type);

	User getByTelPhone(String telPhone);

	List<User> listUser();

}
